# 按行读取内容
# file = open(r"e:\file1.txt", "r")
# txt = file.readline()
# print(txt)
# file.close()


file = open(r"e:\file1.txt", "r")
while True:
    txt = file.readline()
    if txt == "":
        break
    print(txt, end="")
file.close()
